package com.security.spring.web.rq;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.io.Serializable;

/**
 * @author lvite
 */
public class RegisterMemberDTO implements Serializable {
    private static final long serialVersionUID = -7087072793680199652L;

    @JsonProperty("mobile")
    private String mobile;

    @JsonProperty("username")
    private String username;

    @JsonProperty("password")
    private String password;

    private String email;

    public RegisterMemberDTO(String mobile, String username, String password, String email) {
        this.mobile = mobile;
        this.username = username;
        this.password = password;
        this.email = email;
    }

    public RegisterMemberDTO(){

    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }
}
